<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsPrintKpo" targetNamespace="http://tempuri.org/dsPrintKpo.xsd" xmlns:mstns="http://tempuri.org/dsPrintKpo.xsd" xmlns="http://tempuri.org/dsPrintKpo.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="p301ConnectionString" IsAppSettingsProperty="True" Modifier="Assembly" Name="p301ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.p301.Properties.Settings.GlobalReference.Default.p301ConnectionString" Provider="System.Data.SqlClient">
          </Connection>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="p301ConnString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="p301ConnString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.p301.Properties.Settings.GlobalReference.Default.p301ConnString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tatPrintKpo" GeneratorDataComponentClassName="tatPrintKpo" Name="dtPrintKpo" UserDataComponentName="tatPrintKpo">
            <MainSource>
              <DbSource ConnectionRef="p301ConnString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="False" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="True" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     dbo.N_FIO(b_kpo.N_FA, b_kpo.N_IM, b_kpo.N_OT) AS N_FIO, b_kpo.D_OBRASCH, b_kpo.V_OBRASCH, b_kpo.F_DEN, s_obrasch.N_OBRASCH, 
                      s_inf_centr.N_INF_CENTR, b_kpo.F_KLIENT, b_kpo.GOD_R, s_pol.N_POL, vAdr.N_TEL, vAdr.N_ADR,b_kpo.N_PRICH as N_PRICH_SODERJANIE, b_kpo.F_KONS, 
                      s_kons.N_KONS, b_kpo.N_HELP, b_kpo.D_KONS, b_kpo.V_KONS, s_obr.N_OBR, s_socstat.N_SOCSTAT, s_sp.N_SP, s_up.N_UP, b_kpo.F_DETI, 
                      s_rab.N_RAB, s_spec.N_RAB AS N_SPEC, s_rab_tip.N_RAB_TIP AS N_SPEC_TIP, dbo.GetPomKpo(b_kpo.K_KPO) AS N_POM, 
                      dbo.GetPrichKpo(b_kpo.K_KPO) AS N_PRICH, dbo.GetHelpOrgKpo(b_kpo.K_KPO) AS N_HELP_ORG, CAST(b_kpo.NPP_KPO AS varchar(5)) 
                      + ' (' +
                          (SELECT     CAST(MAX(NPP_KPO) AS varchar(5)) AS Expr1
                            FROM          b_kpo AS t
                            WHERE      (YEAR(b_kpo.D_OBRASCH) = YEAR(D_OBRASCH))) + ')' AS NPP_KPO
FROM         b_kpo INNER JOIN
                      s_pol ON b_kpo.K_POL = s_pol.K_POL INNER JOIN
                      vAdr ON vAdr.K_ADR = b_kpo.K_ADR LEFT OUTER JOIN
                      s_obrasch ON b_kpo.K_OBRASCH = s_obrasch.K_OBRASCH LEFT OUTER JOIN
                      s_inf_centr ON b_kpo.K_INF_CENTR = s_inf_centr.K_INF_CENTR LEFT OUTER JOIN
                      s_prich ON b_kpo.K_PRICH = s_prich.K_PRICH LEFT OUTER JOIN
                      s_kons ON b_kpo.K_KONS = s_kons.K_KONS LEFT OUTER JOIN
                      s_obr ON b_kpo.K_OBR = s_obr.K_OBR LEFT OUTER JOIN
                      s_socstat ON b_kpo.K_SOCSTAT = s_socstat.K_SOCSTAT LEFT OUTER JOIN
                      s_sp ON b_kpo.K_SP = s_sp.K_SP LEFT OUTER JOIN
                      s_up ON b_kpo.K_UP = s_up.K_UP LEFT OUTER JOIN
                      s_rab ON b_kpo.K_RAB = s_rab.K_RAB LEFT OUTER JOIN
                      s_rab AS s_spec ON b_kpo.K_SPEC = s_spec.K_RAB LEFT OUTER JOIN
                      s_rab_tip ON s_spec.K_RAB_TIP = s_rab_tip.K_RAB_TIP
WHERE     (b_kpo.K_KPO = @pK_KPO)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="False" AutogeneratedName="pK_KPO" ColumnName="K_KPO" DataSourceName="p301.dbo.b_kpo" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pK_KPO" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_KPO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="N_FIO" DataSetColumn="N_FIO" />
              <Mapping SourceColumn="D_OBRASCH" DataSetColumn="D_OBRASCH" />
              <Mapping SourceColumn="V_OBRASCH" DataSetColumn="V_OBRASCH" />
              <Mapping SourceColumn="F_DEN" DataSetColumn="F_DEN" />
              <Mapping SourceColumn="N_OBRASCH" DataSetColumn="N_OBRASCH" />
              <Mapping SourceColumn="N_INF_CENTR" DataSetColumn="N_INF_CENTR" />
              <Mapping SourceColumn="F_KLIENT" DataSetColumn="F_KLIENT" />
              <Mapping SourceColumn="GOD_R" DataSetColumn="GOD_R" />
              <Mapping SourceColumn="N_POL" DataSetColumn="N_POL" />
              <Mapping SourceColumn="N_TEL" DataSetColumn="N_TEL" />
              <Mapping SourceColumn="N_ADR" DataSetColumn="N_ADR" />
              <Mapping SourceColumn="N_PRICH_SODERJANIE" DataSetColumn="N_PRICH_SODERJANIE" />
              <Mapping SourceColumn="F_KONS" DataSetColumn="F_KONS" />
              <Mapping SourceColumn="N_KONS" DataSetColumn="N_KONS" />
              <Mapping SourceColumn="N_HELP" DataSetColumn="N_HELP" />
              <Mapping SourceColumn="D_KONS" DataSetColumn="D_KONS" />
              <Mapping SourceColumn="V_KONS" DataSetColumn="V_KONS" />
              <Mapping SourceColumn="N_OBR" DataSetColumn="N_OBR" />
              <Mapping SourceColumn="N_SOCSTAT" DataSetColumn="N_SOCSTAT" />
              <Mapping SourceColumn="N_SP" DataSetColumn="N_SP" />
              <Mapping SourceColumn="N_UP" DataSetColumn="N_UP" />
              <Mapping SourceColumn="F_DETI" DataSetColumn="F_DETI" />
              <Mapping SourceColumn="N_RAB" DataSetColumn="N_RAB" />
              <Mapping SourceColumn="N_SPEC" DataSetColumn="N_SPEC" />
              <Mapping SourceColumn="N_SPEC_TIP" DataSetColumn="N_SPEC_TIP" />
              <Mapping SourceColumn="N_POM" DataSetColumn="N_POM" />
              <Mapping SourceColumn="N_PRICH" DataSetColumn="N_PRICH" />
              <Mapping SourceColumn="N_HELP_ORG" DataSetColumn="N_HELP_ORG" />
              <Mapping SourceColumn="NPP_KPO" DataSetColumn="NPP_KPO" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="taKpoDeti" GeneratorDataComponentClassName="taKpoDeti" Name="dtKpoDeti" UserDataComponentName="taKpoDeti">
            <MainSource>
              <DbSource ConnectionRef="p301ConnString (Settings)" DbObjectName="p301.dbo.b_sostav_semyi_kpo" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="False" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="True">
                    <CommandText>SELECT     b_sostav_semyi_kpo.K_RODSTV_OTN, CAST(YEAR(GETDATE()) - b_sostav_semyi_kpo.GOD_R AS varchar(4)) + ' (' + s_pol.N_POL + ')' AS N_REB
FROM         b_sostav_semyi_kpo INNER JOIN
                      s_pol ON s_pol.K_POL = b_sostav_semyi_kpo.K_POL
WHERE     (b_sostav_semyi_kpo.K_RODSTV_OTN BETWEEN 8 AND 13) AND (b_sostav_semyi_kpo.K_KPO = @pK_KPO)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="pK_KPO" ColumnName="K_KPO" DataSourceName="p301.dbo.b_sostav_semyi_kpo" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@pK_KPO" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="K_KPO" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="K_RODSTV_OTN" DataSetColumn="K_RODSTV_OTN" />
              <Mapping SourceColumn="N_REB" DataSetColumn="N_REB" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsPrintKpo" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="dsPrintKpo" msprop:Generator_DataSetName="dsPrintKpo">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dtPrintKpo" msprop:Generator_UserTableName="dtPrintKpo" msprop:Generator_RowDeletedName="dtPrintKpoRowDeleted" msprop:Generator_TableClassName="dtPrintKpoDataTable" msprop:Generator_RowChangedName="dtPrintKpoRowChanged" msprop:Generator_RowClassName="dtPrintKpoRow" msprop:Generator_RowChangingName="dtPrintKpoRowChanging" msprop:Generator_RowEvArgName="dtPrintKpoRowChangeEvent" msprop:Generator_RowEvHandlerName="dtPrintKpoRowChangeEventHandler" msprop:Generator_TablePropName="dtPrintKpo" msprop:Generator_TableVarName="tabledtPrintKpo" msprop:Generator_RowDeletingName="dtPrintKpoRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="N_FIO" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_FIO" msprop:Generator_ColumnPropNameInRow="N_FIO" msprop:Generator_ColumnVarNameInTable="columnN_FIO" msprop:Generator_ColumnPropNameInTable="N_FIOColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="155" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="D_OBRASCH" msprop:Generator_UserColumnName="D_OBRASCH" msprop:Generator_ColumnPropNameInRow="D_OBRASCH" msprop:Generator_ColumnVarNameInTable="columnD_OBRASCH" msprop:Generator_ColumnPropNameInTable="D_OBRASCHColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="V_OBRASCH" msprop:Generator_UserColumnName="V_OBRASCH" msprop:Generator_ColumnPropNameInRow="V_OBRASCH" msprop:Generator_ColumnVarNameInTable="columnV_OBRASCH" msprop:Generator_ColumnPropNameInTable="V_OBRASCHColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="F_DEN" msprop:Generator_UserColumnName="F_DEN" msprop:Generator_ColumnPropNameInRow="F_DEN" msprop:Generator_ColumnVarNameInTable="columnF_DEN" msprop:Generator_ColumnPropNameInTable="F_DENColumn" type="xs:boolean" />
              <xs:element name="N_OBRASCH" msprop:Generator_UserColumnName="N_OBRASCH" msprop:Generator_ColumnPropNameInRow="N_OBRASCH" msprop:Generator_ColumnVarNameInTable="columnN_OBRASCH" msprop:Generator_ColumnPropNameInTable="N_OBRASCHColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_INF_CENTR" msprop:Generator_UserColumnName="N_INF_CENTR" msprop:Generator_ColumnPropNameInRow="N_INF_CENTR" msprop:Generator_ColumnVarNameInTable="columnN_INF_CENTR" msprop:Generator_ColumnPropNameInTable="N_INF_CENTRColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="F_KLIENT" msprop:Generator_UserColumnName="F_KLIENT" msprop:Generator_ColumnPropNameInRow="F_KLIENT" msprop:Generator_ColumnVarNameInTable="columnF_KLIENT" msprop:Generator_ColumnPropNameInTable="F_KLIENTColumn" type="xs:boolean" />
              <xs:element name="GOD_R" msprop:Generator_UserColumnName="GOD_R" msprop:Generator_ColumnPropNameInRow="GOD_R" msprop:Generator_ColumnVarNameInTable="columnGOD_R" msprop:Generator_ColumnPropNameInTable="GOD_RColumn" type="xs:int" minOccurs="0" />
              <xs:element name="N_POL" msprop:Generator_UserColumnName="N_POL" msprop:Generator_ColumnPropNameInRow="N_POL" msprop:Generator_ColumnVarNameInTable="columnN_POL" msprop:Generator_ColumnPropNameInTable="N_POLColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_TEL" msprop:Generator_UserColumnName="N_TEL" msprop:Generator_ColumnPropNameInRow="N_TEL" msprop:Generator_ColumnVarNameInTable="columnN_TEL" msprop:Generator_ColumnPropNameInTable="N_TELColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_ADR" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_ADR" msprop:Generator_ColumnPropNameInRow="N_ADR" msprop:Generator_ColumnVarNameInTable="columnN_ADR" msprop:Generator_ColumnPropNameInTable="N_ADRColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_PRICH_SODERJANIE" msprop:Generator_UserColumnName="N_PRICH_SODERJANIE" msprop:Generator_ColumnPropNameInRow="N_PRICH_SODERJANIE" msprop:Generator_ColumnVarNameInTable="columnN_PRICH_SODERJANIE" msprop:Generator_ColumnPropNameInTable="N_PRICH_SODERJANIEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1073741823" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="F_KONS" msprop:Generator_UserColumnName="F_KONS" msprop:Generator_ColumnPropNameInRow="F_KONS" msprop:Generator_ColumnVarNameInTable="columnF_KONS" msprop:Generator_ColumnPropNameInTable="F_KONSColumn" type="xs:boolean" />
              <xs:element name="N_KONS" msprop:Generator_UserColumnName="N_KONS" msprop:Generator_ColumnPropNameInRow="N_KONS" msprop:Generator_ColumnVarNameInTable="columnN_KONS" msprop:Generator_ColumnPropNameInTable="N_KONSColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="60" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_HELP" msprop:Generator_UserColumnName="N_HELP" msprop:Generator_ColumnPropNameInRow="N_HELP" msprop:Generator_ColumnVarNameInTable="columnN_HELP" msprop:Generator_ColumnPropNameInTable="N_HELPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="150" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="D_KONS" msprop:Generator_UserColumnName="D_KONS" msprop:Generator_ColumnPropNameInRow="D_KONS" msprop:Generator_ColumnVarNameInTable="columnD_KONS" msprop:Generator_ColumnPropNameInTable="D_KONSColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="V_KONS" msprop:Generator_UserColumnName="V_KONS" msprop:Generator_ColumnPropNameInRow="V_KONS" msprop:Generator_ColumnVarNameInTable="columnV_KONS" msprop:Generator_ColumnPropNameInTable="V_KONSColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="N_OBR" msprop:Generator_UserColumnName="N_OBR" msprop:Generator_ColumnPropNameInRow="N_OBR" msprop:Generator_ColumnVarNameInTable="columnN_OBR" msprop:Generator_ColumnPropNameInTable="N_OBRColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_SOCSTAT" msprop:Generator_UserColumnName="N_SOCSTAT" msprop:Generator_ColumnPropNameInRow="N_SOCSTAT" msprop:Generator_ColumnVarNameInTable="columnN_SOCSTAT" msprop:Generator_ColumnPropNameInTable="N_SOCSTATColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_SP" msprop:Generator_UserColumnName="N_SP" msprop:Generator_ColumnPropNameInRow="N_SP" msprop:Generator_ColumnVarNameInTable="columnN_SP" msprop:Generator_ColumnPropNameInTable="N_SPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_UP" msprop:Generator_UserColumnName="N_UP" msprop:Generator_ColumnPropNameInRow="N_UP" msprop:Generator_ColumnVarNameInTable="columnN_UP" msprop:Generator_ColumnPropNameInTable="N_UPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="F_DETI" msprop:Generator_UserColumnName="F_DETI" msprop:Generator_ColumnPropNameInRow="F_DETI" msprop:Generator_ColumnVarNameInTable="columnF_DETI" msprop:Generator_ColumnPropNameInTable="F_DETIColumn" type="xs:boolean" />
              <xs:element name="N_RAB" msprop:Generator_UserColumnName="N_RAB" msprop:Generator_ColumnPropNameInRow="N_RAB" msprop:Generator_ColumnVarNameInTable="columnN_RAB" msprop:Generator_ColumnPropNameInTable="N_RABColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_SPEC" msprop:Generator_UserColumnName="N_SPEC" msprop:Generator_ColumnPropNameInRow="N_SPEC" msprop:Generator_ColumnVarNameInTable="columnN_SPEC" msprop:Generator_ColumnPropNameInTable="N_SPECColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_SPEC_TIP" msprop:Generator_UserColumnName="N_SPEC_TIP" msprop:Generator_ColumnPropNameInRow="N_SPEC_TIP" msprop:Generator_ColumnVarNameInTable="columnN_SPEC_TIP" msprop:Generator_ColumnPropNameInTable="N_SPEC_TIPColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_POM" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_POM" msprop:Generator_ColumnPropNameInRow="N_POM" msprop:Generator_ColumnVarNameInTable="columnN_POM" msprop:Generator_ColumnPropNameInTable="N_POMColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_PRICH" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_PRICH" msprop:Generator_ColumnPropNameInRow="N_PRICH" msprop:Generator_ColumnVarNameInTable="columnN_PRICH" msprop:Generator_ColumnPropNameInTable="N_PRICHColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_HELP_ORG" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_HELP_ORG" msprop:Generator_ColumnPropNameInRow="N_HELP_ORG" msprop:Generator_ColumnVarNameInTable="columnN_HELP_ORG" msprop:Generator_ColumnPropNameInTable="N_HELP_ORGColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NPP_KPO" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NPP_KPO" msprop:Generator_ColumnPropNameInRow="NPP_KPO" msprop:Generator_ColumnVarNameInTable="columnNPP_KPO" msprop:Generator_ColumnPropNameInTable="NPP_KPOColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="13" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="dtKpoDeti" msprop:Generator_UserTableName="dtKpoDeti" msprop:Generator_RowDeletedName="dtKpoDetiRowDeleted" msprop:Generator_TableClassName="dtKpoDetiDataTable" msprop:Generator_RowChangedName="dtKpoDetiRowChanged" msprop:Generator_RowClassName="dtKpoDetiRow" msprop:Generator_RowChangingName="dtKpoDetiRowChanging" msprop:Generator_RowEvArgName="dtKpoDetiRowChangeEvent" msprop:Generator_RowEvHandlerName="dtKpoDetiRowChangeEventHandler" msprop:Generator_TablePropName="dtKpoDeti" msprop:Generator_TableVarName="tabledtKpoDeti" msprop:Generator_RowDeletingName="dtKpoDetiRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="K_RODSTV_OTN" msprop:Generator_UserColumnName="K_RODSTV_OTN" msprop:Generator_ColumnPropNameInRow="K_RODSTV_OTN" msprop:Generator_ColumnVarNameInTable="columnK_RODSTV_OTN" msprop:Generator_ColumnPropNameInTable="K_RODSTV_OTNColumn" type="xs:int" minOccurs="0" />
              <xs:element name="N_REB" msdata:ReadOnly="true" msprop:Generator_UserColumnName="N_REB" msprop:Generator_ColumnPropNameInRow="N_REB" msprop:Generator_ColumnVarNameInTable="columnN_REB" msprop:Generator_ColumnPropNameInTable="N_REBColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="17" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>